#ifndef __SCENERENCONTRE_H__
#define __SCENERENCONTRE_H__

#pragma once

class COgreEngine;

class CSceneRencontre : public CSceneBase
{
//Methods
public:
	CSceneRencontre(COgreEngine &Creator, const String & Name, const int pos);
	virtual ~CSceneRencontre(void);

	void Create(TCreatorEntities const &CreatorEntities, TCreatorNodes const &CreatorNodes, TCreatorLights const &CreatorLights, ENetConfig IsClient = e_NCNone, Vector3 &CameraStartPos = Vector3(200.0f, 150.0f, 200.0f));

	bool frameStarted(const FrameEvent& evt);
	void AddSpotlight(String const &name, Vector3 const &position, Real const &xAngle, Real const &yAngle, Real const &zAngle, bool const CastShadow = false);

	void Attach(void);

	void SetCamera(Vector3 const &position, Quaternion const &orientation, bool fake = false);
	void processEvents(void);

//Variables
public:
	ParticleSystem * m_pPluie;
	ParticleSystem * m_pPluieTop;

	bool m_Play;
	Real m_CamFrame;
	Real m_CloneFrame;
	Real m_CurrentSpeed;

	Real m_LastTime;
};

#endif //__SCENERENCONTRE_H__
